package jp.co.shinesoft.jpetstore.genericdao;

public class GenericDaoQueryNameUtil {

    public static String getInsertQueryName(String className) {
        return className + ".insert";
    }

    public static String getSelectByKeyQueryName(String className) {
        return className + ".findByKey";
    }

    public static String getSelectByExampleQueryName(String className) {
        return className + ".findByExample";
    }

    public static String getUpdateByKeyQueryName(String className) {
        return className + ".updateByKey";
    }

    public static String getUpdateByExampleQueryName(String className) {
        return className + ".updateByExample";
    }

    public static String getDeleteByKeyQueryName(String className) {
        return className + ".removeByKey";
    }

    public static String getDeleteByExampleQueryName(String className) {
        return className + ".removeByExample";
    }
}
